#-*- coding:utf-8 -*-
from django.db import models

# Create your models here.
class Note(models.Model):
	class Meta:
		verbose_name = u'留言板'
		verbose_name_plural = verbose_name
	
	openId = models.CharField(max_length=50, verbose_name=u'Open ID')
	msg = models.TextField(verbose_name=u'留言内容')
	receive_date = models.DateField(auto_now_add=True, verbose_name=u'日期')
	receive_time = models.TimeField(auto_now_add=True, verbose_name=u'时间')
	list_per_page = 10

	def __unicode__(self):
	    return u'留言'